package com.dog.modules.iot.dto.system;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 */
@Data
public class MqttMsgDTO {

    private String username;

    private String topic;

    private Long timestamp;

    private String reason;

    private Integer qos;
    @JsonProperty(value = "publish_received_at")
    private Long publishReceivedAt;

    @JsonProperty(value = "peerhost")
    private String peerHost;

    private String payload;

    private String node;

    @JsonProperty(value = "id")
    private String msgId;

    private MqttMsgFlag flags;

    private String event;

    @JsonProperty(value = "clientid")
    private String clientId;

}
